package com.PGD.model.vos
{
	import assets.AssetLib;
	
	import flash.events.Event;
	
	import uranrus.persistence.BazManaged;
	
	[BazManaged (table="Slides")]
	public class Slide extends BazManaged implements ISlide
	{
		public function Slide()
		{
		
			
		}
		

		private var _slidePackID:String;
		[Bindable(event="slidePackIDChange")]
		public function set slidePackID (value:String):void
		{
			if (value != _slidePackID)
			{
				_slidePackID = value;
				dispatchEvent (new Event ("slidePackIDChange"));
			}
		}
		
		[BazManaged]
		public function get slidePackID ():String
		{
			return _slidePackID;
		}


		
		private var _type:String;
		public function set type(val:String):void
		{
			_type = val;
		}
		[BazManaged]
		public function get type():String
		{
			return _type;
		}
		
		
		private var _summary:String;
		[Bindable(event="summaryChange")]
		public function set summary (value:String):void
		{
			if (value != _summary)
			{
				_summary = value;
				dispatchEvent (new Event ("summaryChange"));
				
			}
		}
		[BazManaged]
		public function get summary ():String
		{
			return _summary;
		}


		
		private var _id:String;
		[Bindable(event="idChange")]
		override public function set id (value:*):void
		{
			if (value != _id)
			{
				_id = value as String;
				dispatchEvent (new Event ("idChange"));
			
			}
		}
		[BazManaged]
		override public function get id ():*
		{
			return _id;
		}

		private var _title:String;
		[Bindable(event="titleChange")]
		public function set title (value:String):void
		{
			if (value != _title)
			{
				_title = value;
				dispatchEvent (new Event ("titleChange"));
				
			}
		}
		[BazManaged]
		public function get title ():String
		{
			return _title;
		}

		private var _subtitle:String;
		[Bindable(event="subtitleChange")]
		public function set subtitle (value:String):void
		{
			if (value != _subtitle)
			{
				_subtitle = value;
				dispatchEvent (new Event ("subtitleChange"));
				
			}
		}
		[BazManaged]
		public function get subtitle ():String
		{
			return _subtitle;
		}

		private var _bodyText:String;
		[Bindable(event="bodyTextChange")]
		public function set bodyText (value:String):void
		{
			if (value != _bodyText)
			{
				_bodyText = value;
				dispatchEvent (new Event ("bodyTextChange"));
				
			}
		}
		[BazManaged]
		public function get bodyText ():String
		{
			return _bodyText;
		}
		
		
	
		private var _timecode:Number;
		[Bindable(event="timecodeChange")]
		public function set timecode (value:Number):void
		{
			if (value != _timecode)
			{
				_timecode = value;
				dispatchEvent (new Event ("timecodeChange"));
			}
		}
		[BazManaged]
		public function get timecode ():Number
		{
			return _timecode;
		}

		
		
		[Bindable]
		public var myIcon:Class = AssetLib.DOCUMENT;
		






		
	}
}